<template>
    <div class="page-feedback">
        <QuestionItem
            v-for="(item, index) in list"
            :item="item"
            :index="index"
            :key="index" />
    </div>
</template>

<script lang="ts">
import QuestionItem from '@/features/feed_back/questionItem.vue';
import { Component, Vue } from 'vue-property-decorator';

@Component({
    name: 'Feedback',
    components: {
        QuestionItem,
    },
})
export default class Feedback extends Vue {
    public list: any = [
        {
            question: '购买商品可配置吗',
            answer: '可以的。',
        },
        {
            question: '商品可退换吗',
            answer: '可以的。',
        },
    ];
}
</script>
